package com.sice.www;

import java.awt.event.ActionListener;
import java.util.ArrayList;

public class Test {
    public static void main(String[] args) {
        MyArrayList myArrayList=new MyArrayList();
        myArrayList.add(1);
        myArrayList.add(2);
        myArrayList.add(3);
        myArrayList.add(4);
        myArrayList.display();

        System.out.println(myArrayList.get(10));
//        myArrayList.add(6,7);

        ArrayList arrayList=new ArrayList<>();
        System.out.println(arrayList);
    }
}
